home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 6 / MacMania 6.toast / / Tools&Utilities / TouchMe 1.2□ / touchMe 1.2 Folder / touchMe source codes / CW11 PP source / source / Common Lib / CRadioButton.h < prev    next >
Encoding:
Text File  |  1997-04-25  |  950 b   |  33 lines  |  [TEXT/CWIE]

  1. // ==================================================
  2. //    CRadioButton.h
  3. //    Copyright (C) 1996-1997 Mizutori Tetsuya
  4. //    July 4, 1996; February 3, 1997.
  5. // ==================================================
  6. //    All documents are pretty-printed in 10-point Geneva font.
  7.  
  8.  
  9. #pragma once
  10.  
  11. #include <LStdControl.h>
  12. #include <LListener.h>
  13.  
  14. class CRadioButton : public LStdRadioButton, public LListener {
  15.  
  16. public:
  17.     enum { class_ID = 'RadB' };
  18.  
  19.     static CRadioButton *    CreateRadioButtonStream( LStream * inStream );
  20.                     CRadioButton();
  21.                     CRadioButton( const CRadioButton &inOriginal );
  22.                     CRadioButton( const SPaneInfo &inPaneInfo,
  23.                                 MessageT inValueMessage, Int32 inValue,
  24.                                 ResIDT inTextTraitsID, Str255 inTitle );
  25.                     CRadioButton( LStream * inStream );
  26.     virtual             ~CRadioButton();
  27.  
  28.     // Listen to CheckBox and change its Enable/Disable status
  29.     virtual void        ListenToMessage( MessageT inMessage, void * ioParam );
  30. };
  31.  
  32. // end of definitions
  33.